package com.wcs.exam.controller.api.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * Api-考试-请求参数
 * </p>
 *
 * @author wcs
 * @since 2024-07-12
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Api-考试-分页-查询参数")
public class ApiExamPageReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "考试类型(1：模拟考试、2：正式考试)")
    private Integer examType;

    @Schema(description = "考试名称")
    private String examName;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "考试说明")
    private String description;

    @Schema(description = "是否免费(false:收费、true:免费)")
    private Boolean free;

    @Schema(description = "报名状态(1:未开始、2:报名中、3:已结束)")
    private Integer registrationStatus;

    @Schema(description = "当前页")
    private int pageCurrent = 1;

    @Schema(description = "每页条数")
    private int pageSize = 20;
}
